package com.yanqu.collectclientdata;

import com.yanqu.collectclientdata.web.CollectClientDataServer;
import com.yanqu.road.utils.ConfigHelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class CollectclientdataApplication {

    public static void main(String[] args) {
        if (ConfigHelper.initConfig("./config/collectClientData.properties")){
            SpringApplication.run(CollectclientdataApplication.class, args);
            CollectClientDataServer.getInstance().start();
        }
    }

}
